<?php
require_once APP_PATH . '/category/model.php';

function category_json_action() {
	checkLogin();
	$category_data = category_model_get_all_list();
	echo json_encode($category_data);
}